package cn.itcast.service;

import cn.itcast.dao.UserDao;
import cn.itcast.pojo.Student;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {
    @Autowired
    private UserDao userDao;
    public Student findOne(String id){
        return userDao.selectById(id);
    }
}
